Skip to content

fix(files_sharing): prevent double-escaping of display names in sharing UI#59660

Open
predictor2718 wants to merge 1 commit intonextcloud:masterfrom
predictor2718:fix/sharing-display-name-double-escape
Open

fix(files_sharing): prevent double-escaping of display names in sharing UI#59660
predictor2718 wants to merge 1 commit intonextcloud:masterfrom
predictor2718:fix/sharing-display-name-double-escape

Conversation

@predictor2718
Copy link
Copy Markdown

Summary

  • Display names containing & were shown as & in sharing tooltips and labels because t() escapes HTML by default and Vue escapes again on render
  • Added { escape: false } to t() calls in sharingStatusAction.ts, SharingEntry.vue, and SharingEntryInherited.vue, following the existing pattern in SharingEntryLink.vue and SharedWithMe.js
  • Added unit tests for sharingStatusAction title function to prevent regression

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…ng UI

Signed-off-by: Nicolai Ehrhardt <245527909+predictor2718@users.noreply.github.com>
@predictor2718 predictor2718 requested a review from a team as a code owner April 15, 2026 20:41
@predictor2718 predictor2718 requested review from nfebe, skjnldsv and sorbaugh and removed request for a team April 15, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Avatar hover description in Files shows "&amp;" instead of "&"

1 participant